﻿CREATE TABLE [dbo].[Assets_Categorys] (
    [Id]    INT              IDENTITY (1, 1) NOT FOR REPLICATION NOT NULL,
    [GId]   UNIQUEIDENTIFIER CONSTRAINT [DF_Assets_Categorys_GId] DEFAULT (newid()) ROWGUIDCOL NULL,
    [Title] NVARCHAR (50)    NULL,
    [Sort]  INT              NULL,
    CONSTRAINT [PK_Assets_Categorys] PRIMARY KEY CLUSTERED ([Id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Id', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Assets_Categorys', @level2type = N'COLUMN', @level2name = N'Id';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Guid', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Assets_Categorys', @level2type = N'COLUMN', @level2name = N'GId';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'类别名称', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Assets_Categorys', @level2type = N'COLUMN', @level2name = N'Title';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'排序', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Assets_Categorys', @level2type = N'COLUMN', @level2name = N'Sort';

